package com.qzxl.conntext;

import java.io.BufferedReader;
import java.io.FileReader;
import java.util.HashMap;
import java.util.Map;

public class ReadConfig {
    private static Map<String,String> map = new HashMap<>();
    public static Map<String,String> read(){
       try(BufferedReader br = new BufferedReader(new FileReader("E:\\wisdom\\context\\src\\main\\resources\\a.txt"))){
           String s;
           while ((s= br.readLine())!=null){
               String[]ss = s.split("=");
               map.put(ss[0],ss[1]);
           }
       }catch (Exception e){

       }
       return map;
    }


}
